package net.maku.module.attendance.convert;

import net.maku.module.attendance.entity.ShiftEntity;
import net.maku.module.attendance.vo.ShiftVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 业务_班次
*
* @author    
*/
@Mapper
public interface ShiftConvert {
    ShiftConvert INSTANCE = Mappers.getMapper(ShiftConvert.class);

    ShiftEntity convert(ShiftVO vo);

    ShiftVO convert(ShiftEntity entity);

    List<ShiftVO> convertList(List<ShiftEntity> list);

}